import request from '@/tools/request'

export function getdatabysearch (dataJson) {
  return request({
    url: '/intercept/knowledge/guide/getdatabysearch',
    method: 'post',
    params: dataJson
  })
}
export function getdatabynewsid(dataJson) {
  return request({
    url: '/intercept/knowledge/guide/getdatabynewsid',
    method: 'post',
    params: dataJson
  })
}
export function getdatabyadmin (dataJson) {
  return request({
    url: '/intercept/knowledge/guide/getdatabyadmin',
    method: 'post',
    params: dataJson
  })
}
export function getdatabyKdcatalog (dataJson) {
  return request({
    url: '/intercept/knowledge/guide/getdatabyKdcatalog',
    method: 'post',
    params: dataJson
  })
}
export function updatecolletion(dataJson) {
  return request({
    url: '/intercept/knowledge/guide/updatecolletion',
    method: 'post',
    params: dataJson
  })
}
export function getcolletion (dataJson) {
  return request({
    url: '/intercept/knowledge/guide/getcolletion',
    method: 'post',
    params: dataJson
  })
}